Navigation
Allows loading resources in the browser instance and working with the navigation history.
Functions
Link copied to clipboard
Indicates whether the next location can be loaded.
Link copied to clipboard
Returns the index of the current item in the back-forward list or -1 if the list is empty.
Link copied to clipboard
Returns the default navigation timeout in seconds.
Link copied to clipboard
Returns an
Optional
that contains the NavigationEntry
instance for the given index
in the back-forward list, otherwise an empty Optional
.Link copied to clipboard
Returns the number of items in the back-forward list.
Link copied to clipboard
Navigates to the resource identified by the given
params
.Navigates to the resource identified by the given
url
.Link copied to clipboard
Loads the resource identified by the given
params
and blocks the current thread execution until the main frame of the resource is loaded completely or the defaultTimeout is reached.Loads the resource identified by the given
url
and blocks the current thread execution until the main frame of the resource is loaded completely or the defaultTimeout is reached.Loads a resource identified by the given
params
and blocks the current thread execution until the main frame of the resource is loaded completely or the given
timeout
is reached.Loads the resource identified by the given
url
and blocks the current thread execution until the main frame of the resource is loaded completely or the given
timeout
is reached.Link copied to clipboard
Reloads the currently loaded web page, but if the current web page has POST data, the user is prompted to see if they really want to reload the page.
Link copied to clipboard
Reloads the currently loaded web page ignoring caches.
Link copied to clipboard
Reloads the currently loaded web page ignoring caches, but if the current web page has POST data, the user is prompted to see if they really want to reload the page.
Link copied to clipboard
Removes the item at the given
index
in the back-forward list and returns true
if it was removed successfully.